package ${basePackage}.service;

import java.util.List;

import ${basePackage}.entity.${entity};

public interface ${entity}Service{
	/**
	 * save
	 * @param ${entityArg}
	 */
	public void save(${entity} ${entityArg});
	
	/**
	 * update
	 * @param ${entityArg}
	 */
	public void update(${entity} ${entityArg});
	
	/**
	 * saveOrUpdate
	 * @param ${entityArg}
	 */
	public void saveOrUpdate(${entity} ${entityArg});
	
	/**
	 * delete
	 * @param ${entityArg}
	 */
	public void delete(${entity} ${entityArg});
	
	
	/**
	 * get
	 * @param id
	 * @return
	 */
	public ${entity} get(Long id);
	/**
	 * load
	 * @param id
	 * @return
	 */
	public ${entity} load(Long id);
	
	/**
	 * find
	 * @return
	 */
	public List<${entity}> find();
}
